package com.nnxy.competition.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 权限
 */
@Data
public class Promise implements Serializable {
    private String promiseId;

    private String promiseName;

    private List<Role> roles;

    public String getPromiseId() {
        return promiseId;
    }

    public void setPromiseId(String promiseId) {
        this.promiseId = promiseId == null ? null : promiseId.trim();
    }

    public String getPromiseName() {
        return promiseName;
    }

    public void setPromiseName(String promiseName) {
        this.promiseName = promiseName == null ? null : promiseName.trim();
    }
}